\hypertarget{classcom_1_1avidys_1_1gwt_1_1wom_1_1client_1_1_controller}{
\section{com.avidys.gwt.wom.client.Controller Class Reference}
\label{classcom_1_1avidys_1_1gwt_1_1wom_1_1client_1_1_controller}\index{com::avidys::gwt::wom::client::Controller@{com::avidys::gwt::wom::client::Controller}}
}
\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
class \hyperlink{classcom_1_1avidys_1_1gwt_1_1wom_1_1client_1_1_controller_1_1_json_handler}{JsonHandler}
\item 
class \hyperlink{classcom_1_1avidys_1_1gwt_1_1wom_1_1client_1_1_controller_1_1_json_r_p_c_handler}{JsonRPCHandler}
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classcom_1_1avidys_1_1gwt_1_1wom_1_1client_1_1_controller_a4853bc0d640bab59f8547be1d46ac0c7}{Controller} (\hyperlink{interfacecom_1_1avidys_1_1gwt_1_1wom_1_1client_1_1_controlled_widget}{ControlledWidget} widget)
\item 
void \hyperlink{classcom_1_1avidys_1_1gwt_1_1wom_1_1client_1_1_controller_a6af352e8f32a5206c7c5fd44db3ac7c1}{sendTextToServer} (String function, String\mbox{[}$\,$\mbox{]}\mbox{[}$\,$\mbox{]} e)
\end{DoxyCompactItemize}
\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classcom_1_1avidys_1_1gwt_1_1wom_1_1client_1_1_controller_1_1_json_r_p_c_handler}{JsonRPCHandler}\mbox{[}$\,$\mbox{]} \hyperlink{classcom_1_1avidys_1_1gwt_1_1wom_1_1client_1_1_controller_a706ecbfe2f2088591c442cede3ef6133}{rpcHandlers}
\item 
ControlledWidget.MyHandler \hyperlink{classcom_1_1avidys_1_1gwt_1_1wom_1_1client_1_1_controller_a393a5d4139cf3b7a4e30b065e1f89887}{handler}
\end{DoxyCompactItemize}
\subsection*{Package Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{classcom_1_1avidys_1_1gwt_1_1wom_1_1client_1_1_controller_a135eda415cce5d4f445c8b1335ec3028}{sendTextToServer} (String function, String text)
\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
int \hyperlink{classcom_1_1avidys_1_1gwt_1_1wom_1_1client_1_1_controller_a9d8050e8695ea72220a19e24e7e3ea86}{getFunction} (String function)
\item 
void \hyperlink{classcom_1_1avidys_1_1gwt_1_1wom_1_1client_1_1_controller_aab4e6daa9872060faf79cd00c5ce3262}{sendTextToServer} (String function, Entry\mbox{[}$\,$\mbox{]} queryEntries)
\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
final String\mbox{[}$\,$\mbox{]} \hyperlink{classcom_1_1avidys_1_1gwt_1_1wom_1_1client_1_1_controller_a9b1ef1fd0d0d1a9a120400f9775865cd}{rpcFunctions} = \{\char`\"{}start\char`\"{},\char`\"{}getTime\char`\"{},\char`\"{}add\char`\"{}\}
\item 
final JsonHttp\mbox{[}$\,$\mbox{]} \hyperlink{classcom_1_1avidys_1_1gwt_1_1wom_1_1client_1_1_controller_af28a6b002a16736ed50bb444dc8a3738}{rcpSenders}
\item 
\hyperlink{interfacecom_1_1avidys_1_1gwt_1_1wom_1_1client_1_1_controlled_widget}{ControlledWidget} \hyperlink{classcom_1_1avidys_1_1gwt_1_1wom_1_1client_1_1_controller_a951eedd37c812793b747149bdac924b2}{controlledWidget}
\item 
String \hyperlink{classcom_1_1avidys_1_1gwt_1_1wom_1_1client_1_1_controller_a1ef91dd7a4592e17dc6859085c04c893}{SID\_\-ID}
\item 
String \hyperlink{classcom_1_1avidys_1_1gwt_1_1wom_1_1client_1_1_controller_a63644fb89e1fad3f9731477ac07aa9dc}{SID\_\-VALUE}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
\hyperlink{classcom_1_1avidys_1_1gwt_1_1wom_1_1client_1_1_controller}{Controller} All logic between in/out: requests and actions

\begin{DoxyAuthor}{Author}
jm controls a Panel or another UI: a controller per UI creates an HTTP Handler to interact with the USer or another Host (considered User) creates an handler to handle panels events TODO: make it abstract/shared for any Panel 
\end{DoxyAuthor}


Definition at line 38 of file Controller.java.

\subsection{Constructor \& Destructor Documentation}
\hypertarget{classcom_1_1avidys_1_1gwt_1_1wom_1_1client_1_1_controller_a4853bc0d640bab59f8547be1d46ac0c7}{
\index{com::avidys::gwt::wom::client::Controller@{com::avidys::gwt::wom::client::Controller}!Controller@{Controller}}
\index{Controller@{Controller}!com::avidys::gwt::wom::client::Controller@{com::avidys::gwt::wom::client::Controller}}
\subsubsection[{Controller}]{\setlength{\rightskip}{0pt plus 5cm}com.avidys.gwt.wom.client.Controller.Controller ({\bf ControlledWidget} {\em widget})}}
\label{classcom_1_1avidys_1_1gwt_1_1wom_1_1client_1_1_controller_a4853bc0d640bab59f8547be1d46ac0c7}

\begin{DoxyParams}{Parameters}
\item[{\em gamePanel}]\item[{\em wowPanel}]womPanel render messages from Model \end{DoxyParams}


Definition at line 56 of file Controller.java.

References com.avidys.gwt.wom.client.Controller.controlledWidget, com.avidys.gwt.wom.client.Controller.rcpSenders, com.avidys.gwt.wom.client.Controller.rpcFunctions, and com.avidys.gwt.wom.client.Controller.rpcHandlers.

\subsection{Member Function Documentation}
\hypertarget{classcom_1_1avidys_1_1gwt_1_1wom_1_1client_1_1_controller_a9d8050e8695ea72220a19e24e7e3ea86}{
\index{com::avidys::gwt::wom::client::Controller@{com::avidys::gwt::wom::client::Controller}!getFunction@{getFunction}}
\index{getFunction@{getFunction}!com::avidys::gwt::wom::client::Controller@{com::avidys::gwt::wom::client::Controller}}
\subsubsection[{getFunction}]{\setlength{\rightskip}{0pt plus 5cm}int com.avidys.gwt.wom.client.Controller.getFunction (String {\em function})\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}
\label{classcom_1_1avidys_1_1gwt_1_1wom_1_1client_1_1_controller_a9d8050e8695ea72220a19e24e7e3ea86}


Definition at line 134 of file Controller.java.

References com.avidys.gwt.wom.client.Controller.rpcFunctions.

Referenced by com.avidys.gwt.wom.client.Controller.sendTextToServer().\hypertarget{classcom_1_1avidys_1_1gwt_1_1wom_1_1client_1_1_controller_a6af352e8f32a5206c7c5fd44db3ac7c1}{
\index{com::avidys::gwt::wom::client::Controller@{com::avidys::gwt::wom::client::Controller}!sendTextToServer@{sendTextToServer}}
\index{sendTextToServer@{sendTextToServer}!com::avidys::gwt::wom::client::Controller@{com::avidys::gwt::wom::client::Controller}}
\subsubsection[{sendTextToServer}]{\setlength{\rightskip}{0pt plus 5cm}void com.avidys.gwt.wom.client.Controller.sendTextToServer (String {\em function}, \/  String {\em e}\mbox{[}$\,$\mbox{]}\mbox{[}$\,$\mbox{]})}}
\label{classcom_1_1avidys_1_1gwt_1_1wom_1_1client_1_1_controller_a6af352e8f32a5206c7c5fd44db3ac7c1}


Definition at line 164 of file Controller.java.

References server.RPCMethods.f(), com.avidys.gwt.wom.client.Controller.getFunction(), com.avidys.gwt.wom.client.Controller.rcpSenders, com.avidys.gwt.wom.client.Controller.SID\_\-ID, and com.avidys.gwt.wom.client.Controller.SID\_\-VALUE.\hypertarget{classcom_1_1avidys_1_1gwt_1_1wom_1_1client_1_1_controller_aab4e6daa9872060faf79cd00c5ce3262}{
\index{com::avidys::gwt::wom::client::Controller@{com::avidys::gwt::wom::client::Controller}!sendTextToServer@{sendTextToServer}}
\index{sendTextToServer@{sendTextToServer}!com::avidys::gwt::wom::client::Controller@{com::avidys::gwt::wom::client::Controller}}
\subsubsection[{sendTextToServer}]{\setlength{\rightskip}{0pt plus 5cm}void com.avidys.gwt.wom.client.Controller.sendTextToServer (String {\em function}, \/  Entry\mbox{[}$\,$\mbox{]} {\em queryEntries})\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}
\label{classcom_1_1avidys_1_1gwt_1_1wom_1_1client_1_1_controller_aab4e6daa9872060faf79cd00c5ce3262}


Definition at line 149 of file Controller.java.

References server.RPCMethods.f(), com.avidys.gwt.wom.client.Controller.getFunction(), com.avidys.gwt.wom.client.Controller.rcpSenders, com.avidys.gwt.wom.client.Controller.SID\_\-ID, and com.avidys.gwt.wom.client.Controller.SID\_\-VALUE.\hypertarget{classcom_1_1avidys_1_1gwt_1_1wom_1_1client_1_1_controller_a135eda415cce5d4f445c8b1335ec3028}{
\index{com::avidys::gwt::wom::client::Controller@{com::avidys::gwt::wom::client::Controller}!sendTextToServer@{sendTextToServer}}
\index{sendTextToServer@{sendTextToServer}!com::avidys::gwt::wom::client::Controller@{com::avidys::gwt::wom::client::Controller}}
\subsubsection[{sendTextToServer}]{\setlength{\rightskip}{0pt plus 5cm}void com.avidys.gwt.wom.client.Controller.sendTextToServer (String {\em function}, \/  String {\em text})\hspace{0.3cm}{\ttfamily  \mbox{[}package\mbox{]}}}}
\label{classcom_1_1avidys_1_1gwt_1_1wom_1_1client_1_1_controller_a135eda415cce5d4f445c8b1335ec3028}


Definition at line 142 of file Controller.java.

References server.RPCMethods.f(), com.avidys.gwt.wom.client.Controller.getFunction(), com.avidys.gwt.wom.client.Controller.rcpSenders, com.avidys.gwt.wom.client.Controller.SID\_\-ID, and com.avidys.gwt.wom.client.Controller.SID\_\-VALUE.

Referenced by com.avidys.gwt.wom.client.WOMPanel.onButtonClicked(), and com.avidys.gwt.wom.client.WOMPanel.MyHandler.onChange().

\subsection{Member Data Documentation}
\hypertarget{classcom_1_1avidys_1_1gwt_1_1wom_1_1client_1_1_controller_a951eedd37c812793b747149bdac924b2}{
\index{com::avidys::gwt::wom::client::Controller@{com::avidys::gwt::wom::client::Controller}!controlledWidget@{controlledWidget}}
\index{controlledWidget@{controlledWidget}!com::avidys::gwt::wom::client::Controller@{com::avidys::gwt::wom::client::Controller}}
\subsubsection[{controlledWidget}]{\setlength{\rightskip}{0pt plus 5cm}{\bf ControlledWidget} {\bf com.avidys.gwt.wom.client.Controller.controlledWidget}\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}
\label{classcom_1_1avidys_1_1gwt_1_1wom_1_1client_1_1_controller_a951eedd37c812793b747149bdac924b2}


Definition at line 44 of file Controller.java.

Referenced by com.avidys.gwt.wom.client.Controller.Controller(), com.avidys.gwt.wom.client.Controller.JsonHandler.onFailure(), com.avidys.gwt.wom.client.Controller.JsonRPCHandler.onSuccess(), and com.avidys.gwt.wom.client.Controller.JsonHandler.onSuccess().\hypertarget{classcom_1_1avidys_1_1gwt_1_1wom_1_1client_1_1_controller_a393a5d4139cf3b7a4e30b065e1f89887}{
\index{com::avidys::gwt::wom::client::Controller@{com::avidys::gwt::wom::client::Controller}!handler@{handler}}
\index{handler@{handler}!com::avidys::gwt::wom::client::Controller@{com::avidys::gwt::wom::client::Controller}}
\subsubsection[{handler}]{\setlength{\rightskip}{0pt plus 5cm}ControlledWidget.MyHandler {\bf com.avidys.gwt.wom.client.Controller.handler}}}
\label{classcom_1_1avidys_1_1gwt_1_1wom_1_1client_1_1_controller_a393a5d4139cf3b7a4e30b065e1f89887}


Definition at line 49 of file Controller.java.\hypertarget{classcom_1_1avidys_1_1gwt_1_1wom_1_1client_1_1_controller_af28a6b002a16736ed50bb444dc8a3738}{
\index{com::avidys::gwt::wom::client::Controller@{com::avidys::gwt::wom::client::Controller}!rcpSenders@{rcpSenders}}
\index{rcpSenders@{rcpSenders}!com::avidys::gwt::wom::client::Controller@{com::avidys::gwt::wom::client::Controller}}
\subsubsection[{rcpSenders}]{\setlength{\rightskip}{0pt plus 5cm}final JsonHttp \mbox{[}$\,$\mbox{]} {\bf com.avidys.gwt.wom.client.Controller.rcpSenders}\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}
\label{classcom_1_1avidys_1_1gwt_1_1wom_1_1client_1_1_controller_af28a6b002a16736ed50bb444dc8a3738}


Definition at line 41 of file Controller.java.

Referenced by com.avidys.gwt.wom.client.Controller.Controller(), and com.avidys.gwt.wom.client.Controller.sendTextToServer().\hypertarget{classcom_1_1avidys_1_1gwt_1_1wom_1_1client_1_1_controller_a9b1ef1fd0d0d1a9a120400f9775865cd}{
\index{com::avidys::gwt::wom::client::Controller@{com::avidys::gwt::wom::client::Controller}!rpcFunctions@{rpcFunctions}}
\index{rpcFunctions@{rpcFunctions}!com::avidys::gwt::wom::client::Controller@{com::avidys::gwt::wom::client::Controller}}
\subsubsection[{rpcFunctions}]{\setlength{\rightskip}{0pt plus 5cm}final String \mbox{[}$\,$\mbox{]} {\bf com.avidys.gwt.wom.client.Controller.rpcFunctions} = \{\char`\"{}start\char`\"{},\char`\"{}getTime\char`\"{},\char`\"{}add\char`\"{}\}\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}
\label{classcom_1_1avidys_1_1gwt_1_1wom_1_1client_1_1_controller_a9b1ef1fd0d0d1a9a120400f9775865cd}


Definition at line 40 of file Controller.java.

Referenced by com.avidys.gwt.wom.client.Controller.Controller(), and com.avidys.gwt.wom.client.Controller.getFunction().\hypertarget{classcom_1_1avidys_1_1gwt_1_1wom_1_1client_1_1_controller_a706ecbfe2f2088591c442cede3ef6133}{
\index{com::avidys::gwt::wom::client::Controller@{com::avidys::gwt::wom::client::Controller}!rpcHandlers@{rpcHandlers}}
\index{rpcHandlers@{rpcHandlers}!com::avidys::gwt::wom::client::Controller@{com::avidys::gwt::wom::client::Controller}}
\subsubsection[{rpcHandlers}]{\setlength{\rightskip}{0pt plus 5cm}{\bf JsonRPCHandler} \mbox{[}$\,$\mbox{]} {\bf com.avidys.gwt.wom.client.Controller.rpcHandlers}}}
\label{classcom_1_1avidys_1_1gwt_1_1wom_1_1client_1_1_controller_a706ecbfe2f2088591c442cede3ef6133}


Definition at line 42 of file Controller.java.

Referenced by com.avidys.gwt.wom.client.Controller.Controller().\hypertarget{classcom_1_1avidys_1_1gwt_1_1wom_1_1client_1_1_controller_a1ef91dd7a4592e17dc6859085c04c893}{
\index{com::avidys::gwt::wom::client::Controller@{com::avidys::gwt::wom::client::Controller}!SID\_\-ID@{SID\_\-ID}}
\index{SID\_\-ID@{SID\_\-ID}!com::avidys::gwt::wom::client::Controller@{com::avidys::gwt::wom::client::Controller}}
\subsubsection[{SID\_\-ID}]{\setlength{\rightskip}{0pt plus 5cm}String {\bf com.avidys.gwt.wom.client.Controller.SID\_\-ID}\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}
\label{classcom_1_1avidys_1_1gwt_1_1wom_1_1client_1_1_controller_a1ef91dd7a4592e17dc6859085c04c893}


Definition at line 45 of file Controller.java.

Referenced by com.avidys.gwt.wom.client.Controller.sendTextToServer().\hypertarget{classcom_1_1avidys_1_1gwt_1_1wom_1_1client_1_1_controller_a63644fb89e1fad3f9731477ac07aa9dc}{
\index{com::avidys::gwt::wom::client::Controller@{com::avidys::gwt::wom::client::Controller}!SID\_\-VALUE@{SID\_\-VALUE}}
\index{SID\_\-VALUE@{SID\_\-VALUE}!com::avidys::gwt::wom::client::Controller@{com::avidys::gwt::wom::client::Controller}}
\subsubsection[{SID\_\-VALUE}]{\setlength{\rightskip}{0pt plus 5cm}String {\bf com.avidys.gwt.wom.client.Controller.SID\_\-VALUE}\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}
\label{classcom_1_1avidys_1_1gwt_1_1wom_1_1client_1_1_controller_a63644fb89e1fad3f9731477ac07aa9dc}


Definition at line 46 of file Controller.java.

Referenced by com.avidys.gwt.wom.client.Controller.sendTextToServer().

The documentation for this class was generated from the following file:\begin{DoxyCompactItemize}
\item 
src/com/avidys/gwt/wom/client/\hyperlink{_controller_8java}{Controller.java}\end{DoxyCompactItemize}
